<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>动画过渡</title>
		<style type="text/css">
			#p1{
				/* height: 300px;
				width: 400px;
				overflow: hidden;
				margin: 200px auto; */
			}
			#p1 img{
				height: 300px;
				width: 400px;
				margin: 200px auto;
				cursor: pointer;
			}
			@media  all and (max-width:600px) {
				#p1 img{
					height: 100px;
					width: 200px;
					border-radius: 50%;
					cursor: pointer;
				}
				#p1 img:hover{
					transform: rotate(3600deg);
					transition: all 2s;
				}
			}
			@media print {
				#p1 img{
					border: 15px double burlywood;
					display: none;
				}
			}
			
		</style>
	</head>
	<body>
		<div id="p1">
			<img src="6.jpg"/>
		</div>
	</body>
</html>
